<?php
class HotTag extends CWidget{
	public $class = 'one_logo';
	public function init(){
		$hotTag = Tags::getHotTagsOneWeek();
		echo '<ul class="tag_list">';
		foreach($hotTag as $val){
			echo "<li class='tag_li'><span class='one_logo'></span><a href='/tag/".CHtml::encode($val['tag_name'])."' class='tag'>".$val['tag_name']."</a></li>";
		}
		echo '</ul>';
		parent::init();
	}
}